﻿@{
    ViewBag.Title = ViewResources.Layout.Title;
}

<div id="sub-content">
    @Html.ValidationSummary(true)
    @using(Html.BeginForm("Login","Account",FormMethod.Post, new { id = "log-form", role = "form" }))
    { 
        @Html.AntiForgeryToken()
       
        <div id="log-title">@ViewResources.Index.Login</div>
        <div id="username-lbl">
            <label>@ViewResources.Index.Username</label>
            <input type="text" id="username" name="username">
            <span class="star">*</span>
        </div>
        <div id="pass-lbl">
            <label>@ViewResources.Index.Password</label>
            <input type="password" id="password" name="password">
            <span class="star">*</span>
        </div>
        <div id="submit-panel">
            <input type="checkbox" checked="checked" name="windowsAuthentication" id="windowsAuthentication" autocomplete="off" value="true">
            <div>@ViewResources.Index.Authentication</div>
        </div>
        <div id="login-panel">
            <button type="submit">@ViewResources.Index.Submit</button>
            <div>@ViewResources.Index.Optimization</div>
        </div>
    }
</div>

@section scripts{

     @Scripts.Render("~/Scripts/index")
}